package beans;

import java.util.Set;

public class JohnBean {
	private String name ;
	private Set<String> tels ;
	
	public void setName(String name) {
		this.name = name;
	}
	public JohnBean(Set<String> tels){
		this.tels = tels;
	}
	public JohnBean(){
		System.out.println("一个新对象……");
	}
	
	public void setTels(Set<String> tels) {
		this.tels = tels;
	}
	public void say(){
		for(String t : tels){
			System.out.println(t);
		}
	}
}
